#define  _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

void SLTList1()
{
	SLTNode* plist = NULL;
	SLTPushFront(&plist, 1);
	SLTPushFront(&plist, 2);
	SLTPushFront(&plist, 3);
	SLTPushFront(&plist, 4);
	SLTPushFront(&plist, 5);
	SLTprint(plist);
	SLTPopFront(&plist);
	SLTprint(plist);
	SLTNode*head=SLTFind(plist, 3);
	SLTInsert(&plist, head, 6);
	SLTprint(plist);
	SLTErase(&plist, head);
	head = NULL;
	SLTprint(plist);






}

int main()
{
	SLTList1();
	return 0;
}